<script lang="ts" setup>
  import { h } from 'vue';
  import { LoadingOutlined } from '@ant-design/icons-vue';
  import Spin from '@sscd/spin';
  const indicator = h(LoadingOutlined, {
    style: {
      fontSize: '24px',
    },
    spin: true,
  });
</script>

<template>
  <div class="demo">
    <div class="demo-title">自定义指示符</div>
    <div class="demo-content">
      <Spin :indicator="indicator" />
    </div>
  </div>
</template>
